package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单与服务项目对应表对象 service_ordersitems
 * 
 * @author ZDL
 * @date 2024-11-12
 */
public class ServiceOrdersitems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单服务项关联表主键ID */
    private Long ordersitemsId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long ordersitemsOrderid;

    /** 服务项ID */
    @Excel(name = "服务项ID")
    private Long ordersitemsItemid;

    /** 服务项数量 */
    @Excel(name = "服务项数量")
    private Long ordersitemsCount;

    /** 创建者 */
    @Excel(name = "创建者")
    private String ordersitemsCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ordersitemsCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String ordersitemsUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ordersitemsUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String ordersitemsUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String ordersitemsDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String ordersitemsRemark;

    public void setOrdersitemsId(Long ordersitemsId) 
    {
        this.ordersitemsId = ordersitemsId;
    }

    public Long getOrdersitemsId() 
    {
        return ordersitemsId;
    }
    public void setOrdersitemsOrderid(Long ordersitemsOrderid) 
    {
        this.ordersitemsOrderid = ordersitemsOrderid;
    }

    public Long getOrdersitemsOrderid() 
    {
        return ordersitemsOrderid;
    }
    public void setOrdersitemsItemid(Long ordersitemsItemid) 
    {
        this.ordersitemsItemid = ordersitemsItemid;
    }

    public Long getOrdersitemsItemid() 
    {
        return ordersitemsItemid;
    }
    public void setOrdersitemsCount(Long ordersitemsCount) 
    {
        this.ordersitemsCount = ordersitemsCount;
    }

    public Long getOrdersitemsCount() 
    {
        return ordersitemsCount;
    }
    public void setOrdersitemsCreateBy(String ordersitemsCreateBy) 
    {
        this.ordersitemsCreateBy = ordersitemsCreateBy;
    }

    public String getOrdersitemsCreateBy() 
    {
        return ordersitemsCreateBy;
    }
    public void setOrdersitemsCreateTime(Date ordersitemsCreateTime) 
    {
        this.ordersitemsCreateTime = ordersitemsCreateTime;
    }

    public Date getOrdersitemsCreateTime() 
    {
        return ordersitemsCreateTime;
    }
    public void setOrdersitemsUpdateBy(String ordersitemsUpdateBy) 
    {
        this.ordersitemsUpdateBy = ordersitemsUpdateBy;
    }

    public String getOrdersitemsUpdateBy() 
    {
        return ordersitemsUpdateBy;
    }
    public void setOrdersitemsUpdateTime(Date ordersitemsUpdateTime) 
    {
        this.ordersitemsUpdateTime = ordersitemsUpdateTime;
    }

    public Date getOrdersitemsUpdateTime() 
    {
        return ordersitemsUpdateTime;
    }
    public void setOrdersitemsUseFlag(String ordersitemsUseFlag) 
    {
        this.ordersitemsUseFlag = ordersitemsUseFlag;
    }

    public String getOrdersitemsUseFlag() 
    {
        return ordersitemsUseFlag;
    }
    public void setOrdersitemsDelFlag(String ordersitemsDelFlag) 
    {
        this.ordersitemsDelFlag = ordersitemsDelFlag;
    }

    public String getOrdersitemsDelFlag() 
    {
        return ordersitemsDelFlag;
    }
    public void setOrdersitemsRemark(String ordersitemsRemark) 
    {
        this.ordersitemsRemark = ordersitemsRemark;
    }

    public String getOrdersitemsRemark() 
    {
        return ordersitemsRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ordersitemsId", getOrdersitemsId())
            .append("ordersitemsOrderid", getOrdersitemsOrderid())
            .append("ordersitemsItemid", getOrdersitemsItemid())
            .append("ordersitemsCount", getOrdersitemsCount())
            .append("ordersitemsCreateBy", getOrdersitemsCreateBy())
            .append("ordersitemsCreateTime", getOrdersitemsCreateTime())
            .append("ordersitemsUpdateBy", getOrdersitemsUpdateBy())
            .append("ordersitemsUpdateTime", getOrdersitemsUpdateTime())
            .append("ordersitemsUseFlag", getOrdersitemsUseFlag())
            .append("ordersitemsDelFlag", getOrdersitemsDelFlag())
            .append("ordersitemsRemark", getOrdersitemsRemark())
            .toString();
    }
}
